package com.rose.doorto.footbathdoor.controler;

import com.rose.doorto.common.constant.Constant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpSession;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author 李庆超
 * @email 1481791489@qq.com
 * @Package：com.rose.doorto.footbathdoor.controler
 * @Project：door-to-door
 * @name：IndexController
 * @date 2024/07/12 2024/7/12:14:49:
 */
@Controller
@RequestMapping("/doorto/index")
public class IndexController {


    @Autowired
    AddressController addressController;

    /**
     * 管理我的地址
     * @return
     */
    @GetMapping("/addressListPage")
    public String receivingPage() {
        return "addressList.html";
    }



    /**
     * 技师信息注册
     * @return
     */
    @GetMapping("/getToTeacherPage")
    public String getToTeacherPage(){
        return "addITeacher.html";
    }
}
